#include "calculateCenter1.h"

Result printTestResult(int test_num, Result state) {
	cout << "test " << test_num << " => ";
	if (state) {
		cout << "PASSED\n";
	} else {
		cout << "FAILED\n";
	}
	return state;
}

Result test1() {
	int* new_data;
	car car_to_check;
	IplImage* img;
//	CvPoint x = calculateCenter(img, new_data, car_to_check);
//returns SUCCESS always cause it doesn't even compile for the first test and afterwards it is SUCCESS
	return (printTestResult(1, SUCCESS));
} 

#ifdef __TEST1__
int main(int argc, char **argv) {
	if (!test1()) {
		cout << "TOTAL TEST FAILED!\n";
		getchar();
		exit(1);
	}
	cout << "TOTAL TEST SUCCEEDED\n";
	getchar();
	return 0;
}
#endif